package cn.cheegon.blog.entity.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Desc:
 * @Author: cheegon
 * @Date: Create in 2024/6/27  下午1:48
 */
@Data
public class EssayDto {
    private Long id;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "内容(富文本)")
    private String content;

    @Schema(description = "内容(html)")
    private String html;

    @Schema(description = "封面缩略图")
    private String image;

    @Schema(description = "描述")
    private String description;

    private Long praise;

    @Schema(description = "颜色")
    private String color;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}
